//
//  JiFangDatas.m
//  PDA巡检
//
//  Created by Vencoo on 14-2-26.
//  Copyright (c) 2014年 Vencoo. All rights reserved.
//

#import "JiFangDatas.h"

@implementation JiFangDatas
+ (id)JiFangWithFloorIdIndex:(int)floorIdIndex AndCheckIdIndex:(int)checkIdIndex
{
    JiFangDatas *jifang = [[JiFangDatas alloc]init];
    NSArray *sumArray = [NSArray arrayWithContentsOfFile:[[NSBundle mainBundle]pathForResource:@"JiFangData" ofType:@"plist"]];
    jifang.voltageStr = sumArray[floorIdIndex][checkIdIndex][@"voltage"];
    jifang.currentStr = sumArray[floorIdIndex][checkIdIndex][@"current"];
    jifang.temperatureStr = sumArray[floorIdIndex][checkIdIndex][@"temperature"];
    
    return jifang;
}
@end
